/*
 ******************************************************************
 *      
 * 域名空间　	: GreatB2C.Model
 * 类　名　称	: UserGroups.cs
 * 类　功　能	: 返回数据集是基于Model对象
 * 类　流　程    :                             
 * 运用算法　	:                             
 * 编　写　人	: 王超             
 * 编写日期　	: 2011/4/24
 * 最近更新日期　:	    
 * 版　　本　	: V1.0                           
 * 描　　述　	: Descript of Class                                                 
 *                                        
 ******************************************************************
*/

using System;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// Descript of this class
    /// </summary>
    [Serializable]
    public class UserGroups
    {
        // 主键
        protected int _GroupID = 0;

        //其它字段
        protected string _GroupName = String.Empty;
        protected string _Description = String.Empty;
        protected string _Settings = String.Empty;
        protected int _GroupType = 0;
        protected string _GroupSetting = String.Empty;
        protected string _UpgradeSetting = String.Empty;


        #region Public Properties
        /// <summary>
        /// 用户组ID
        /// </summary>
        public int GroupID
        {
            get { return _GroupID; }
            set { _GroupID = value; }
        }


        /// <summary>
        /// 用户组名
        /// </summary>
        public string GroupName
        {
            get { return _GroupName; }
            set { _GroupName = value; }
        }

        /// <summary>
        /// 用户组说明
        /// </summary>
        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }

        /// <summary>
        /// 用户组设置，用XML保存如下配置。
        /// </summary>
        public string Settings
        {
            get { return _Settings; }
            set { _Settings = value; }
        }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int GroupType
        {
            get { return _GroupType; }
            set { _GroupType = value; }
        }

        /// <summary>
        /// 用户权限
        /// </summary>
        public string GroupSetting
        {
            get { return _GroupSetting; }
            set { _GroupSetting = value; }
        }

        /// <summary>
        /// 用户升级参数设置
        /// </summary>
        public string UpgradeSetting
        {
            get { return _UpgradeSetting; }
            set { _UpgradeSetting = value; }
        }
        #endregion
    }
}
